CC=gcc
CFLAGS=-std=c99 -Wall -Werror

SOURCES=hex0.c hex2.c hex86.c
BINARIES=$(SOURCES:.c=.bin)

.PHONY: all
all: $(BINARIES)

.PHONY: clean
clean:
	rm -f $(BINARIES)

%.bin: %.c
	$(CC) $(CFLAGS) $< -o $@
